<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>字体属性</title>
    <style>
        p{
            color: #ff00ff;
            font-size: 30px;
            text-align: center;
            line-height:50px;
            /*border  边框*/
            border:1px solid red;
        }
        div{
            border:1px solid red;
            /*
                尺寸
            */
            height: 100px;
            width:300px;
            background: url("0.jpg") no-repeat center;
        }
    </style>
</head>
<body>
    <p>牛皮</p>
    <div>黑马</div>
</body>
</html>